package day03;

import java.util.Scanner;

public class Text02 {
    public static void main(String[] args) {
            number(6);



    }
    public static  void number(int j){
        int sum=1;// 定义和
        int a=1; //定于积
        for (int i = 1; i <= j; i++) {
        a*=i;
        sum+=a;
            System.out.println(i+"!="+a);




        }

    }
}
